/*bootstrap*/

.row {
    margin: 0;
}

.page-header {
    margin: 0;
}

.btn {
    border-radius: 2px;
}

.btn-wide {
    padding-left: 20px;
    padding-right: 20px;
}

.form-inline .form-group {
    margin-bottom: 10px;
}


/*toastr*/

#toast-container {
    z-index: 99999999999 !important;
}

.toast-top-center {
    top: 91px !important;
}


/*validation*/

.control-label {
    padding: 6px 12px;
    font-weight: normal;
}

.form-control {
    border-radius: 1px;
}

.form-control.error {
    border-color: red;
}

.layui-input.error,
.layui-input.error:focus {
    border-color: red;
}

.error {
    display: block;
    float: left;
    padding: 6px 12px;
}

.error {
    color: red;
}

label.error {
    width: 100%;
    padding: 6px 0;
    margin-bottom: 0;
    font-weight: normal;
}


/*webuploader*/

.uploader-image .file-item {
    float: left;
    position: relative;
}

.uploader-image .file-item .error {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    background: red;
    color: white;
    text-align: center;
    height: 20px;
    font-size: 14px;
    line-height: 23px;
}

.uploader-image .file-item .info {
    position: absolute;
    left: 4px;
    bottom: 4px;
    right: 4px;
    height: 20px;
    line-height: 20px;
    text-indent: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    z-index: 10;
}

.uploader-image .upload-state-done:after {
    content: "\f00c";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 32px;
    position: absolute;
    bottom: 0;
    right: 4px;
    color: #4cae4c;
    z-index: 99;
}

.uploader-image .file-item .progress {
    position: absolute;
    right: 4px;
    bottom: 4px;
    height: 3px;
    left: 4px;
    height: 4px;
    overflow: hidden;
    z-index: 15;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.uploader-image .file-item .progress span {
    display: block;
    overflow: hidden;
    width: 0;
    height: 100%;
    background: #d14 url(../images/progress.png) repeat-x;
    -webit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    transition: width 200ms linear;
    -webkit-animation: progressmove 2s linear infinite;
    -moz-animation: progressmove 2s linear infinite;
    -o-animation: progressmove 2s linear infinite;
    -ms-animation: progressmove 2s linear infinite;
    animation: progressmove 2s linear infinite;
    -webkit-transform: translateZ(0);
}

.uploader-image {
    width: 100%;
    position: relative;
}

.uploader-image .uploader-list {
    width: 100%;
    overflow: hidden;
}

.uploader-image .uploader-list li {
    width: 110px;
    height: 110px;
    background: url(../images/bg.png) no-repeat;
    text-align: center;
    margin: 0 8px 20px 0;
    position: relative;
    display: inline;
    float: left;
    overflow: hidden;
    font-size: 12px;
}

.uploader-image .uploader-list div.file-panel {
    position: absolute;
    height: 20px;
    top: 0;
    right: 0;
    overflow: hidden;
    z-index: 300;
}

.uploader-image .uploader-list div.file-panel span {
    background: rgba(0, 0, 0, .5);
    border-radius: 2px;
    color: #fff;
    width: 18px;
    height: 18px;
    line-height: 14px;
    text-align: center;
    font-size: 20px;
    display: block;
    cursor: pointer;
}

.uploader-image .uploader-list div.file-panel span.cancel {
    background-position: -48px -24px;
}

.uploader-image .uploader-list div.file-panel span.cancel:hover {
    background-position: -48px 0;
}

.uploader-image .uploader-list div.file-panel.cover {
    width: 35px;
    left: 0;
}

.uploader-image .uploader-list div.file-panel.cover span {
    width: 35px;
    font-size: 12px;
}

.uploader-image .uploader-list .set-cover {
    text-align: center;
    cursor: pointer;
}


/*fancybox-wrap*/

#fancybox-wrap {
    box-sizing: content-box;
}

#fancybox-outer {
    box-sizing: content-box;
}

.edui-editor-body .edui-body-container{
    box-sizing: content-box;
}
